<?php
namespace User\Model;

use Think\Model;

class MemberServiceItemModel extends Model
{
    CONST STATUS_ACTIVE = 1;//正常、已发布
    CONST STATUS_DELETE = 9;//已删除

    public static function getRemind($remind = 'all')
    {
        $label = [
            '1' => "短信提醒",
            '2' => "微信提醒",
            '3' => "短信、微信提醒"
        ];
        if($remind === 'all'){
            return $label;
        }
        if (array_key_exists($remind, $label)) {
            return $label[$remind];
        }
        return "无";
    }
}

?>